<script setup lang="ts">
import BugList from './components/BugList.vue'
</script>

<template>
  <div class="app">
    <header class="app-header">
      <div class="header-content">
        <h1>Claude Code Bug 修复助手</h1>
        <p>使用 Claude Code SDK 智能修复代码 Bug</p>
      </div>
    </header>
    
    <main class="main-content">
      <BugList />
    </main>
  </div>
</template>

<style scoped>
.app {
  min-height: 100vh;
  background-color: #f5f5f5;
}

.app-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.header-content h1 {
  margin: 0 0 0.5rem 0;
  font-size: 2rem;
  font-weight: 600;
}

.header-content p {
  margin: 0;
  opacity: 0.9;
  font-size: 1.1rem;
}

.main-content {
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem 20px;
}

@media (max-width: 768px) {
  .header-content h1 {
    font-size: 1.5rem;
  }
  
  .header-content p {
    font-size: 1rem;
  }
}
</style>
